home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group92c.txt / 000023_icon-group-sender _Thu Oct 15 15:59:39 1992.msg < prev    next >
Internet Message Format  |  1993-01-04  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 19 Oct 1992 11:35:43 MST
  2. Date: 15 Oct 92 15:59:39 GMT
  3. From: elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!ellis!goer@lll-winken.llnl.gov  (Richard L. Goerwitz)
  4. Organization: University of Chicago Computing Organizations
  5. Subject: Re: confusing errors
  6. Message-Id: <1992Oct15.155939.2562@midway.uchicago.edu>
  7. References: <1992Oct12.140817.25199@midway.uchicago.edu>, <1992Oct12.173604.3765@midway.uchicago.edu>, <SPACKMAN.92Oct15130722@disco-sol.dfki.uni-sb.de>
  8. Sender: icon-group-request@cs.arizona.edu
  9. To: icon-group@cs.arizona.edu
  10. Status: R
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. stephen@acm.org writes:
  14.  
  15. >|If anybody find the Icon tokenizer interesting (automatic semicolon inser-
  16. >|tion is really a great idea - why don't all languages do it?), then here's
  17. >|a fun program.
  18. >
  19. >Makes about as much sense as automatic plus insertion or automatic
  20. >atanh() insertion, if you ask me.
  21.  
  22. I didn't ask, Stephen, but since you interject I respond with a basic
  23. remark about tokens and their semantics:  Some terminals map to nodes
  24. in the abstract syntax tree; some only demarcate expressions.  When and
  25. if they are superfluous, they should be eliminated, as long as doing so
  26. does not render the language more opaque.
  27.  
  28. Opacity is a subjective judgment, of course, so let's check to see if
  29. you know Icon in the first place.  Can you illustrate where automatic
  30. semicolon insertion might render Icon source code less readable, or
  31. introduce unexpected behavior?  I'm waiting....
  32.  
  33. -- 
  34.  
  35.    -Richard L. Goerwitz              goer%midway@uchicago.bitnet
  36.    goer@midway.uchicago.edu          rutgers!oddjob!ellis!goer
  37.